<template>
	<!-- <view class="content"
	 :style="{'background-color': color1,
	 'background-image': 'linear-gradient(180deg,'+ color1 +' 0%,'+ color2+' 100%)'}"> -->
	 
	 	<view class="content" :style="color1">
		<view style="height: 200rpx;"></view>
		<image class="imgs" src="@/static/anquan.png"></image>
	</view>
</template>



<script>
	import {curl} from 'common/api.js';
	export default {
		data() {
			return {
				info: '',
				list:[],
				screen:'',
				color1:'#fafafa',
				color2:'#ffffff',
				u:'',
				s:''
			}
		},
		onLoad(ret) {
			var that=this;
			curl('index/getcolor', {}).then((res) => {
				console.log(res.data);
					that.color1=res.data.color1
					that.color2=res.data.color2
				
			});
			console.log(ret.u);
			if(ret.u){
				var u=ret.u;
				var s=ret.s;
				uni.setNavigationBarTitle({
					title:'跳*转*中'
				})
				
				
				setTimeout(function(){
					uni.navigateTo({
						url:"/pages/index/huoma?u="+u+"&s="+s
					})
				},300)
			}else{
				// window.location.href="https://www.qq.com";
			}
	
			
			
		},
		methods: {
			
		}
	}
</script>

<style>
	.imgs{
		width: 400rpx;height: 400rpx;display: block;
		margin: auto;
	}
</style>
